//
//  Teacher.h
//  Courses
//
//  Created by xxx on 15/1/9.
//  Copyright (c) 2015年 wtf. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "AdvancedCourseDetails.h"
#import "PublicCourseDetails.h"
#import "Course.h"

@interface Teacher : NSObject

//"TeacherId": "讲师id",
//"TeacherName": "讲师姓名",
//"TeacherTitle": "讲师title",
//"TeacherHeadPhotoUrl": "http:///www.xxx.com/xxx",
//"TeacherdescShort": "简单描述",
//"isV": "是否认证"

pStr *TeacherId;
pStr *TeacherName;
pStr *TeacherTitle;
pStr *TeacherHeadPhotoUrl;
pStr *TeacherdescShort;
pStr *teacherDescLong;
pStr *isV;

- (id)initWithJsonDict:(NSDictionary *)jsonDict;
- (id)initWithCourseDetails:(PublicCourseDetails *)courseDetails;
- (id)initWithCourse:(Course *)course;

+ (NSArray *)getTeachers;
+ (Teacher *)getTeacherDetailsById:(NSString *)teacherId;
+ (NSArray *)getPublicCoursesByTeacherId:(NSString *)teacherId;
+ (NSArray *)getAdvancedCoursesByTeacherId:(NSString *)teacherId;

@end
